<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<!-- 
			赋值运算符:
			=   +=  -=  *= /=  %=
		 -->
		 
		 <script type="text/javascript">
		 	
			var  num = 10;
			// num+=2;   // num = num+2
			// num-=2;  //  num = num -2
			// num*=2     //  num = num*2
			//num/=2;      //  num = num/2
			num %= 2      //  num = num%2  
			console.log("num="+num);
			
		 </script>
	</body>
</html>
